package cur.nature.starter.service;

import cur.nature.framework.mvc.crud.CrudService;
import cur.nature.starter.dao.Manager_DictDao;
import cur.nature.starter.model.Manager_DictVO;
import cur.nature.tinyorm.core.bean.PageBean;
import mybatis.manager.entity.Manager_DictPO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 通用字典表 Service
 * 作者：Auto Generator By wujian
 * 生成日期：2023-07-09 16:05:31
 */
@Service
public class Manager_DictService extends CrudService<Manager_DictPO, Manager_DictVO, Manager_DictDao> {
    public Manager_DictService(Manager_DictDao baseDao) {
        super(baseDao, Manager_DictPO.class, Manager_DictVO.class);
    }

    public PageBean<Manager_DictVO> list(Manager_DictVO.list_Param param) throws Exception {
        PageBean<Manager_DictVO> list = getDao().list(param);
        return list;
    }

    public List<Manager_DictVO> listByCond(Manager_DictVO.list_Param param) throws Exception {
        List<Manager_DictVO> list = getDao().listByCond(param);
        return list;
    }

}

